package com.segersten.othello.service.rest;

import javax.xml.bind.annotation.XmlRootElement;

import com.segersten.othello.service.akka.Auth;
import com.segersten.othello.service.akka.lobby.BoardReference;

@XmlRootElement
public class GiveUpRequest {

	private Auth auth;
	private BoardReference reference;
	
	public GiveUpRequest() {
	}

	public GiveUpRequest(BoardReference reference, Auth auth) {
		this.reference = reference;
		this.auth = auth;
	}

    public Auth getAuth()
    {
        return auth;
    }

    public void setAuth(Auth auth)
    {
        this.auth = auth;
    }

    public BoardReference getReference()
    {
        return reference;
    }

    public void setReference(BoardReference reference)
    {
        this.reference = reference;
    }

    @Override
    public String toString()
    {
        return "GiveUpRequest [auth=" + auth + ", reference=" + reference + "]";
    }
	
}
